package day16_Runnable.demo04_synchronized;

public class Test {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        Thread csw1 = new Thread(myThread, "售票机1");
        Thread csw2 = new Thread(myThread, "售票机2");
        Thread csw3 = new Thread(myThread, "售票机3");
        csw1.start();
        csw2.start();
        csw3.start();
    }
}
